package com.archetypus.projectschedule.web.involvements.bd;

import com.archetypus.projectschedule.common.dto.activities.Activity;
import com.archetypus.projectschedule.common.dto.involvements.Involvement;
import com.archetypus.projectschedule.common.dto.involvements.InvolvementListHandler;
import com.archetypus.projectschedule.common.dto.people.Person;
import com.archetypus.projectschedule.common.exceptions.ProjectSchedulerException;

public interface IInvolvementBD {
	public InvolvementListHandler listInvolvements() throws ProjectSchedulerException;
	public InvolvementListHandler listInvolvementsByActivity(Activity activity) throws ProjectSchedulerException;
	public InvolvementListHandler listInvolvementsByPerson(Person person) throws ProjectSchedulerException;
	public void createInvolvement(Involvement involvement) throws ProjectSchedulerException;
	public void updateInvolvement(Involvement involvement) throws ProjectSchedulerException;
	public void deleteInvolvement(Involvement involvement) throws ProjectSchedulerException;
	public Involvement findInvolvement(Involvement involvement) throws ProjectSchedulerException;
}
